package cn.itcast.bos.service.take_delivery;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

import cn.itcast.bos.domain.take_delivery.Order;
/**
 * 2保存订单service层
 * 3.去crm_managementCustomerService添加根据地址添加获取定区编码的方法
 * 4.saveOrder()
 * @author WDS
 *
 */
public interface OrderService {

	@Path("/order")
	@POST
	@Consumes({"application/json","application/xml"})
	public void saveOrder(Order order);

	public Order findByOrderNum(String orderNum);
}
